package sundun.sharding.execution;

import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.plugin.Invocation;
import org.apache.ibatis.reflection.MetaObject;
import sundun.sharding.config.TableConfiguration;

/**
 * 执行策略
 *
 * @author: zxl
 * @date: 2024/8/11 09:22
 */
public interface ExecutionStrategy {

    Object execute(Invocation invocation, TableConfiguration tableConfiguration, MetaObject metaStatementHandler, MappedStatement mappedStatement) throws Exception;


}
